<div class="client-detail-progress device-pixel-border-top">
    <div class="progress-title" [class.init]="!requestSuccess">
        {{typeNum==1?'客户':'增员对象'}}跟进情况
        <span (click)="goToProgressList()">查看详情</span>
    </div>
    <div class="hasData-panel" *ngIf="dataChange&&requestSuccess">
        <div class="progress-item device-pixel-border-bottom" *ngFor="let item of progressList index as index">
            <div class="item-left">
                <div class="date-panel">
                    <p class="day">{{item.createdTime*1000| date:'MM/dd'}}</p>
                    <p class="year">{{item.createdTime*1000| date:'yyyy'}}</p>
                </div>
            </div>
            <div class="item-right">
                <div class="content-panel" [class.download]="downloadTimerLength>=2&&currentVoiceId==item.id">
                    <span class="default" [class.active]="(item.noteType==1||item.noteType==2||item.noteType==3)&&item.sourceType!=2">{{getNoteType(item)}}</span>
                    <p [class.word]="item.contentType==1" [class.voice]="item.contentType==2">
                        <span class="word-content" *ngIf="item.contentType==1">{{item.content}}</span>
                        <span class="voiceNote" *ngIf="item.contentType==2" (click)="playOrStop($event,item.voiceUrl,item.id,item.voiceLength)">
                        <img src="./assets/images/client/client-note/icon_notes_voice.png" alt="" *ngIf="voiceId!=item.id"
                             [class.clear]="downloadTimerLength>=2&&currentVoiceId==item.id" class="normal">
                        <img src="./assets/images/client/client-note/icon_notes_voice_paly.gif" alt="" *ngIf="voiceId==item.id" class="normal play">
                        <img src="./assets/images/client/client-note/icon_loadingvoice.png" alt="" class="loading">
                        <i>{{item.voiceLength}}</i>
                    </span>
                    </p>
                </div>
                <span class="time-panel">{{item.createdTime*1000| date:'HH:mm'}}</span>
            </div>
        </div>
    </div>
    <div class="noData-panel" *ngIf="!dataChange&&requestSuccess">
        暂无跟进记录
    </div>
</div>
